<?php
    include("include/header.inc.php");
    $_SESSION['page'] = 'home';
    if ($_SESSION['name'] == '')
    {
        echo '<script>location.href="detailEvent.php?event='.$_SESSION['login'].'"</script>';
    }
    $_SESSION['previous_page'] = $_SERVER['REQUEST_URI'];
    
    $_SESSION['array_themes_status'] = '';
    $_SESSION['array_themes_status_initial'] = '';
    $_SESSION['array_themes_status_will'] = '';
?>

<div data-role="content" >
        <H2><?php echo $texts['home'][$_SESSION['lang']] ?></h2>
        <div class="tableauIndex">
            <table frame="void" class="tabAccueil">
                <tr>
                    <td class="tdIndex"><a href="./events.php" rel="external"><img src="picture/calendar.png"/></a><br/><?php echo $texts['event'][$_SESSION['lang']] ?></td>
                    <td class="tdIndex"><a href="./historique.php" rel="external"><img src="picture/bookmark.png"/></a><br/><?php echo $texts['account'][$_SESSION['lang']] ?></td>
                </tr>
                <tr>
                    <td colspan=2 class="tdIndex"><img src="picture/blank80.png"/><br /></td>
                </tr>
                <tr>
                    <td colspan=2 class="tdIndex"><a href="./informations.php" rel="external"><img src="picture/information.png"/></a><br/><?php echo $texts['info'][$_SESSION['lang']] ?></td>
                </tr>
            </table>
        </div>
    </div><!-- /content -->
    <?php
        include('include/footer.inc.php');  // Nous appelons notre menu
    ?>
